#include <iostream>
#include <ros/ros.h>
#include <robot_control/Trajectory.h>

int
 main (int argc, char** argv)
{
	ros::init(argc, argv, "planaer_tester");
	ros::NodeHandle nh;
	ros::Publisher odo_pub = nh.advertise<robot_control::Trajectory>(
			"robot_trajectory", 10);

	ros::Rate sleep(1);
	double x = 0;
	double y = 0;
	ROS_INFO("Published msg");
	while(ros::ok()) {
		robot_control::Trajectory msg;
		msg.x = x;
		msg.y = y;
		x += 0.01;
		y += 0.01;
		odo_pub.publish(msg);
		sleep.sleep();
		ROS_INFO("Published msg");
	}

}
